/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package ia_0.data_model.character;

import ia_0.data_model.character.POI.TypePOI;
import ia_0.data_model.character.*;
import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author jderenty
 */
public class Knowledge {

    List<POI> pois=new ArrayList<POI>();

    public void moveTo(POI poi){

    }

    void addPoi(POI p) {
        pois.add(p);
    }

    public POI getPoi(TypePOI tt) {
        for(POI p : pois){
            if (p.type.equals(tt)){
                return p;
            }
        }
        return null;

    }

}
